/*
 * 天虹商场股份有限公司版权所有.
 */
package com.rainbow.mybatis;

/**
 * TODO
 *
 * @author 黄明坤
 * @version 1.0.0
 * @date 2020/7/15
 */
public class TestClassMsg {

   public void testString (){
       String a ="";
       for (int i=0 ;i < 10 ; i++){
           a = a+"s";
       }
   }

    public void testStringBulider (){
        StringBuilder a = new StringBuilder();
        for (int i=0 ;i < 10 ; i++){
            a = a.append("s");
        }
    }


    public String testReturn(){
       String test = "test";
       try {
            return test;
       }finally {
           test ="hello";
       }
    }

    public void jiaBefore(){
       for(int i =0 ;i < 10;i++){
       }
    }

    public void jiaAfter(){
        for(int i =0 ;i < 10;++i){
        }
    }

    public static void main(String[] args) {
        int a =2;
        int b = 400;
        int c = a+b;
        System.out.println(c);
    }
}
